package com.wjy.common.application;

import lombok.extern.log4j.Log4j2;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * @author ybxxszl
 * @desc 项目启动后自动执行
 * @date 2019/5/4
 */
@Log4j2
@Component
public class ApplicationRunnerHandler implements ApplicationRunner {

    @Override
    public void run(ApplicationArguments applicationArguments) {
        log.info("ApplicationRunner运行中");
    }

}
